package com.lego.bean;

public class User {
	private int userId;
	private String userName;
	private String password;
	private String phoneNum;
	private String nickName;
	private String headImg;
	private int isDeleted;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getHeadImg() {
		return headImg;
	}
	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	
	public int getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(int isDeleted) {
		this.isDeleted = isDeleted;
	}
	public User(int userId, String userName, String password, String phoneNum, String nickName, String headImg) {
		this.userId = userId;
		this.userName = userName;
		this.password = password;
		this.phoneNum = phoneNum;
		this.nickName = nickName;
		this.headImg = headImg;
	}
	public User() {
	}
	public User(String userName,String password) {
		this.userName = userName;
		this.password = password;
	}
	public User(String userName,String password,String phoneNum) {
		this.userName = userName;
		this.password = password;
		this.phoneNum = phoneNum;
	};
	public User(int userId, String password, String nickName) {
		this.userId = userId;
		this.password = password;
		this.nickName = nickName;
	};

}
